package com.buydeem.decorator;

/**
 *
 * @author zengchao
 * @date 2022-05-07 11:41:41
 */
public class SugarDecorator extends Decorator{

    public SugarDecorator(Drinks drinks) {
        super(drinks);
    }

    @Override
    public void taste() {
        drinks.taste();
        System.out.println("加了糖有甜味");
    }
}
